using MediatR;
using B.S.RbacData.ErrorCode;
using System.ComponentModel.DataAnnotations;

namespace SupplierCustomerManagement.Write.API.Applications.Commands.suppliers
{
    /// <summary>
    /// 批量逻辑删除供应商命令
    /// </summary>
    public class BatchDeleteSuppliersCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 供应商ID列表
        /// </summary>
        [Required(ErrorMessage = "供应商ID列表不能为空")]
        public List<int> Ids { get; set; } = new List<int>();

    }
} 